import Vue from 'vue'
import Vuex from 'vuex'
import article from './module/article'
import menus from './module/menus'
import getters from './getters'

Vue.use(Vuex)

const store = () => new Vuex.Store(
    {
      getters,
      modules: {
        article,
        menus
      }
    }
  )

export default store;
